package gaml.java.serializer.collection;

import gaml.error.GamlException;
import gaml.java.ClassSerializerStore;

import java.util.Vector;


/**
 * serialize vector object into list yaml node
 * get data from list yaml node into vector object
 * @author shnireck
 *
 */
public class VectorSerializer extends ListSerializer <Vector <Object>> {

	public VectorSerializer (ClassSerializerStore store) { super (store); }

	@Override
	public Vector <Object> createObject () throws GamlException { return new Vector <Object> (); }

	@Override
	public Class <Vector <Object>> getObjectClass () { return (Class <Vector <Object>>) new Vector <Object> ().getClass (); }
}